﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotShot.Service.BusinessLogic.MessageProcessors
{
    public class InitNodeBroadcastProcessor: MessageProcessorBase  
    {
        public override void ProcessMessage(HotShot.Entities.Messages.BaseMessage message, string correlationId)
        {
            QueueCommunicationLogic.Current.Broadcast(message, correlationId);
            // process it without redirecting to input queue
            MessagingLogic.Current.ProcessMessage(message, correlationId, false);
        }
    }
}
